home *** CD-ROM | disk | FTP | other *** search
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="2"
- "COUNT"="1"
- "UIPATH"="Hardware\CPU"
- "NAME"="Windows NT Processors"
- "VERSION"="1.02"
- "OSVERSION"="01000"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Processors:"
- "DESCRIPTION 1"="Defines the licensed number of processors your version of Windows allows."
- "DESCRIPTION 2"="For more information, see http://software.oreilly.com/news.cfm?ID_News=143"
- "WARNING"="1"
-
-
- sV1="HKLM\System\CurrentControlSet\Control\Session Manager\LicensedProcessors" 'DW
- Sub Plugin_Initialize
- s=RegReadValue(sV1)
- Call SetUIElement(1,s)
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- s=GetUIElement(1)
- if len(s)>0 then
- Call RegWriteValue(sV1,s,2)
- Call Restart()
- end if
-
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-